﻿using NetworkLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBO.Network
{
    public interface ITopServer
    {
        void SendData<T>(int sessionID, int method, T obj);

        void SendData<T>(IEnumerable<int> sessions, int method, T obj);

        void BroadCast<T>(int method, T obj);

        event Action<int, int, string> ReceiveData;
    }
}
